//
//  LSZInputTableViewCell.m
//  JKFuYinProject
//
//  Created by 九酷 on 2018/8/20.
//  Copyright © 2018年 LC. All rights reserved.
//

#import "LSZInputTableViewCell.h"

@implementation LSZInputTableViewCell

-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.textViewInput = [[UITextView alloc]init];
        self.textViewInput.textColor = titleColorLSZ;
        self.textViewInput.frame = CGRectMake(10, 10, ScreenWidth-10-25, 100);
        self.textViewInput.returnKeyType = UIReturnKeyDone;
        self.textViewInput.enablesReturnKeyAutomatically = YES;
        [self addSubview:self.textViewInput];

        self.labelNumberWords = [[UILabel alloc]init];
        self.labelNumberWords.text = @"0/1000";
        self.labelNumberWords.frame = CGRectMake(0,CGRectGetMaxY(self.textViewInput.frame), ScreenWidth-20, 20);
        self.labelNumberWords.textAlignment = NSTextAlignmentRight;
        self.labelNumberWords.textColor = lightColor;
        [LSZSpecialPackaging setLabelAdaptiveSize:self.labelNumberWords font:12.5];
        [self addSubview:self.labelNumberWords];

        if (ScreenWidth == 320) {
            self.textViewInput.font = FONT_(13);
        }else if(ScreenWidth == 375){
            self.textViewInput.font = FONT_(13.5);
        }else {
            self.textViewInput.font = FONT_(14);
        }

    }
    return self;
}

@end
